<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>收银台</title>
<script src="{MODULE_URL}template/resources/js/jquery-2.1.1.min.js"></script>
    <script type="text/javascript">
        window.sysinfo = {
        {if !empty($_W['uniacid'])}'uniacid': '{$_W['uniacid']}',{/if}
        {if !empty($_W['acid'])}'acid': '{$_W['acid']}',{/if}
        {if !empty($_W['openid'])}'openid': '{$_W['openid']}',{/if}
        {if !empty($_W['uid'])}'uid': '{$_W['uid']}',{/if}
        'isfounder': {if !empty($_W['isfounder'])}1{else}0{/if},
        'siteroot': '{$_W['siteroot']}',
                'siteurl': '{$_W['siteurl']}',
                'attachurl': '{$_W['attachurl']}',
                'attachurl_local': '{$_W['attachurl_local']}',
                'attachurl_remote': '{$_W['attachurl_remote']}',
                'module' : {'url' : '{if defined('MODULE_URL')}{MODULE_URL}{/if}', 'name' : '{if defined('IN_MODULE')}{IN_MODULE}{/if}'},
        'cookie' : {'pre': '{$_W['config']['cookie']['pre']}'},
        'account' : {php echo json_encode($_W['account'])},
        'server' : {'php' : '{php echo phpversion()}'},
        };
</script>
<script>var require = { urlArgs: 'v=20170802' };</script>
<script type="text/javascript" src="./resource/js/app/util.js?v=20170802"></script>
<script type="text/javascript" src="./resource/js/app/common.min.js?v=20170802"></script>
<script type="text/javascript" src="./resource/js/require.js?v=20170802"></script>
<link href="./resource/css/common.css?v=20161011" rel="stylesheet">
<link href="{MODULE_URL}template/resources/js/bootstrap.min.css" rel="stylesheet">
<script src="{MODULE_URL}template/resources/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="{MODULE_URL}template/resources/layui/css/layui.css" media="all">
<script src="{MODULE_URL}template/resources/layui/layui.all.js"></script>
<link href="{MODULE_URL}template/web/{$cfg['floder']}/base.css" rel="stylesheet">
<script src="{MODULE_URL}template/resources/js/webcommon.js"></script>
</head>
<style>
body{padding:15px;}
a:link,a:visited,a:hover,a:active{ text-decoration:none;}
.layui-tab-title .layui-this{color:#FFF; background:#009688; border-color:#009688}
.layui-tab-content{ padding:10px 0}
.layui-form-label{ width:110px}
.layui-input-block{ margin-left:120px;}
</style>
<script language="javascript">
layui.use(['layer', 'laypage', 'element','form'], function(){
  var layer = layui.layer
  ,laypage = layui.laypage
  ,element = layui.element
  ,form = layui.form;
  form.render();
});
</script>
<body>
<header class="header"> <img src="{php echo tomedia($cfg['logo'])}" onerror="this.style.display='none'"  class="logo" style="height:48px;" />
  <div class="top_nav">
    <ul class="layui-nav">
        <li class="layui-nav-item">{if !$shopid}<a href="{php echo $this->createWebUrl('shop')}">请先选择店铺</a>{else}<span  style="color: #F60">{$shop['companyname']}{/if}</li>
      <li class="layui-nav-item"><a href="{$_W['siteroot']}app/index.php?i={$_W['uniacid']}&c=entry&do=index&m=j_hmoney" target="_blank"><i class="fa fa-yen"></i> 前台收银</a></li>
        <li class="layui-nav-item"><a href="{$_W['siteroot']}web/index.php?c=platform&a=reply&m=j_hmoney" target="_blank"><i class="fa fa-yen"></i> 返回系统</a></li>
      <li class="layui-nav-item" onMouseOver="$('#_topmenuleft').show()" onMouseOut="$('#_topmenuleft').hide()"> <a href="javascript:;" >管理</a>
        <dl id="_topmenuleft" class="layui-nav-child" style="right:0;left:auto">
          <dd><a href="{php echo $this->createWebUrl('indexs',array('op'=>'logout'))}"><i class="fa fa-off"></i> 退出系统</a></dd>
        </dl>
      </li>
    </ul>
  </div>
</header>
<section class="page_menu">
  <ul class="left_nav">
    <li class="left_nav_item"><a href="{php echo $this->createWebUrl('indexs')}"><i class="fa fa-home"></i> 首页</a></li>
    <li class="left_nav_item"><a href="{php echo $this->createWebUrl('shop')}"><i class="fa fa-briefcase"></i> 店铺管理</a></li>
    <li class="left_nav_item"><a href="{php echo $this->createWebUrl('staff')}"><i class="fa fa-user"></i> 员工管理</a></li>
    <li class="left_nav_item"><a href="{php echo $this->createWebUrl('goods',array('op'=>'display'))}"><i class="fa fa-grain"></i> 商品管理</a>
      <dl class="left_nav_childmenu">
        <dd><a href="{php echo $this->createWebUrl('goods',array('op'=>'display'))}">商品管理</a></dd>
        <dd><a href="{php echo $this->createWebUrl('goods')}">分类管理</a></dd>
      </dl>
    </li>
    <li class="left_nav_item"><a href="{php echo $this->createWebUrl('store')}"><i class="fa fa-th"></i> 库存管理</a>
      <dl class="left_nav_childmenu">
        <dd><a href="{php echo $this->createWebUrl('store',array('op'=>'display'))}">采购管理</a></dd>
        <dd><a href="{php echo $this->createWebUrl('store',array('op'=>'supplier'))}">供应商管理</a></dd>
        <dd><a href="{php echo $this->createWebUrl('store',array('op'=>'display'))}">商品盘点</a></dd>
      </dl>
    </li>
    <li class="left_nav_item"><a href="{php echo $this->createWebUrl('member',array('op'=>'display'))}"><i class="fa fa-user"></i> 会员管理</a></li>
    <li class="left_nav_item"><a href="#"><i class="fa fa-indent-right"></i> 智能分析</a>
      <dl class="left_nav_childmenu">
        <dd><a href="{php echo $this->createWebUrl('sale',array('op'=>'display'))}">营业统计</a></dd>
        <dd><a href="{php echo $this->createWebUrl('salemember',array('op'=>'display'))}">会员统计</a></dd>
        <dd><a href="{php echo $this->createWebUrl('salegoods',array('op'=>'display'))}">商品统计</a></dd>
      </dl>
    </li>
    <li class="left_nav_item"><a href="{php echo $this->createWebUrl('market',array('op'=>'display'))}"><i class="fa fa-gift"></i> 营销平台</a>
   	  <dl class="left_nav_childmenu">
      	<dd><a href="{php echo $this->createWebUrl('market',array('op'=>'display'))}">订单营销活动</a></dd>
        <dd><a href="{php echo $this->createWebUrl('market',array('op'=>'goodmarket'))}">商品营销活动</a></dd>
        <dd><a href="{php echo $this->createWebUrl('lottery',array('op'=>'display'))}">抽奖管理</a></dd>
      </dl>
    </li>
    <li class="left_nav_item"><a href="{php echo $this->createWebUrl('print',array('op'=>'display'))}"><i class="fa fa-print"></i> 打印管理</a></li>
      <li class="left_nav_item"><a href="{php echo $this->createWebUrl('admanage',array('op'=>'display'))}"><i class="fa fa-print"></i> 广告管理</a></li>
    <li class="left_nav_item"><a href="{php echo $this->createWebUrl('settings',array('op'=>'display'))}"><i class="fa fa-cog"></i> 系统管理</a></li>
  </ul>
</section>

<aside class="page_content">